goog.provide('bwf.http.Server');

goog.require('node.http');

/**
 * @constructor
 */
bwf.http.Server = function() {
	console.log('test');
};

bwf.http.Server.prototype.start = function() {
	node.http.createServer(function(req, res) {
		res.writeHead(200, {
			'Content-Type' : 'text/html'
		});
		res.write('<html><body>');
		res.write('Hello World');
		res.end('</body></html>');
	}).listen(9090, "127.0.0.1");
	console.log('Server running at http://127.0.0.1:9090/');
};
